<script setup lang="ts">
import { useRouter } from 'vue-router'

const router = useRouter()
function toHome() {
  router.push({ path: '/' })
}
</script>

<template>
  <a-result status="403" title="403" sub-title="Sorry, you are not authorized to access this page！">
    <template #extra>
      <a-button type="primary" @click="toHome">
        Back to home
      </a-button>
    </template>
  </a-result>
</template>
